export default interface CategoryShakeAround {

    startSearchBeacons(param: IWxJsSDKSearchBeaconParam): void;

    stopSearchBeacons(param: { complete(res: string): void; }): void;

    onSearchBeacons(param: { complete(res: { beacons: IWxJsSDKSearchBeaconInfo[] }): void; }): void;

}

export interface IWxJsSDKSearchBeaconInfo {
    major: number;
    minor: number;
    uuid: string;
    accuracy: string;
    rssi: string;
    proximity: string;
    heading: string;
}

export interface IWxJsSDKSearchBeaconParam {
    ticket?: string;  //摇周边的业务ticket, 系统自动添加在摇出来的页面链接后面
    complete(argv: string): void;
}
